package com.mysoft.gfyx.clue.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mysoft.framework.mybatis.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
@TableName("gfyx_message_inbox")
public class MessageInbox {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("message_type")
    private String messageType;

    @TableField("title")
    private String title;

    @TableField("content")
    private String content;

    @TableField("sender_id")
    private Long senderId;

    @TableField("receiver_id")
    private Long receiverId;

    @TableField("is_readed")
    private Integer isReaded;

    @TableField("received_time")
    private Date receivedTime;

    @TableField("readed_time")
    private Date readedTime;

    @TableField("link")
    private String link;

    @TableField("created_by")
    private String createdBy;

    @TableField("created_on")
    private Date createdOn;

    @TableField("modified_by")
    private String modifiedBy;

    @TableField("modified_on")
    private Date modifiedOn;

    @TableField("is_deleted")
    private Integer isDeleted;
}
